import React, { Component } from 'react';
import { connect } from 'react-redux';
import Top from '../../component/top/top';
import FootCon  from '../../component/footCon/footCon';
import { setRouterName } from '../../store/public/action';
import './measurement.scss';
import Submission from './submission/Submission';

class Measurement extends Component {

    
    componentWillMount() {
        const { dispatch } = this.props;
        dispatch(setRouterName(this.props.location.pathname, this.props.history));
    }
    
    render() {
        return (
            <div>
                <Top></Top>
                <div className="measurement">
                    <img src={require('../../static/img/measurement/measurement-1.jpg')} alt="" />
                </div>
                <Submission />
                <FootCon></FootCon>
            </div>
        )
    }
}

export default connect()(Measurement)